function time(){
	var myDate = new Date();
	var years = myDate.getFullYear();
	var month = myDate.getMonth()+1;
	if(month < 10){
		month = "0"+month;
	}
	var days = myDate.getDate();
	if(days < 10){
		days = "0"+days; 
	}
	var time =  years+"年"+month+"月"+days+"号";
	$('.time').text(time);
}
setInterval(function(){ time(); }, 1000);
$(function(){
	var myDate = new Date();
	var week = myDate.getDay();
	var show_day=new Array('星期日','星期一','星期二','星期三','星期四','星期五','星期六'); 
	$('.week').text(show_day[week]);
})